test:enhancement.o main.o geoTrans.o dft.o
	@g++ enhancement.o main.o geoTrans.o dft.o -o test -lcv -lhighgui -I/usr/include/opencv
main.o:main.cpp adpMedFilter.h restoration.h segmentation.h
	@g++ -c main.cpp -I/usr/include/opencv
enhancement.o:enhancement.cpp enhancement.h
	@g++ -c enhancement.cpp -I/usr/include/opencv
geoTrans.o:geoTrans.cpp geoTrans.h
	@g++ -c geoTrans.cpp -I/usr/include/opencv
dft.o:dft.cpp dft.h
	@g++ -c dft.cpp -I/usr/include/opencv
clean:
	@rm ./*.o
